package cc.xpcas.raft.message;

import java.util.*;

import cc.xpcas.raft.LogEntry;
import lombok.Data;

/**
 * @author xp
 */
@Data
public class AppendEntriesRequest implements RequestMessage {

    private int serverId;

    private long term;

    private long lastCommittedLogId;

    private long previousLogId;

    private long previousLogTerm;

    private List<LogEntry> entries;
}
